import request from "./reques"

// 首页数据的请求
export const GetHomeList = () => request.get("/index/scenic")

// 获取搜索弹出框的数据
export const GetSearchDate = () => request.get("/index/scenic")

// 获取搜索的文本提示的数据列表
export const GetSearchTipsListData = (params) => request.get("/index/search", {params})
// 登录请求
export const GoLogin = (params) => request.post("/users/login",{params})


// 添加预约
export const addOreder = (params) => request.post("/order",{params})

// 请求景点详情
export const GetSciencesDetail = (params) => request.get("/scenic/detail",{params})

// 请求预约景点信息
export const GetSciencesOrder = (params) => request.get("/order/list",{params})